package com.aaa.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * Table: ums_permission
 */
@Data
public class UmsPermission implements Serializable {
    /**
     * Table:     ums_permission
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * 父级权限id
     *
     * Table:     ums_permission
     * Column:    pid
     * Nullable:  true
     */
    private Long pid;

    /**
     * 名称
     *
     * Table:     ums_permission
     * Column:    name
     * Nullable:  true
     */
    private String name;

    /**
     * 权限值
     *
     * Table:     ums_permission
     * Column:    value
     * Nullable:  true
     */
    private String value;

    /**
     * 图标
     *
     * Table:     ums_permission
     * Column:    icon
     * Nullable:  true
     */
    private String icon;

    /**
     * 权限类型：0->目录；1->菜单；2->按钮（接口绑定权限）
     *
     * Table:     ums_permission
     * Column:    type
     * Nullable:  true
     */
    private Integer type;

    /**
     * 前端资源路径
     *
     * Table:     ums_permission
     * Column:    uri
     * Nullable:  true
     */
    private String uri;

    /**
     * 启用状态；0->禁用；1->启用
     *
     * Table:     ums_permission
     * Column:    status
     * Nullable:  true
     */
    private Integer status;

    /**
     * 创建时间
     *
     * Table:     ums_permission
     * Column:    create_time
     * Nullable:  true
     */
    private Date createTime;

    /**
     * 排序
     *
     * Table:     ums_permission
     * Column:    sort
     * Nullable:  true
     */
    private Integer sort;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table ums_permission
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}